package com.example.onlinemusic.tooks;

import java.text.SimpleDateFormat;
import java.util.Date;

public class TestTime {
    public static void main(String[] args) {
        SimpleDateFormat sf = new SimpleDateFormat();
        String time = sf.format(new Date());
        System.out.println("当前时间: " + time);
    }
}
